import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import './assets/reset.css'
import './utils/axios'


import axios from 'axios'

// 配置http
import http from './helper/http.js'

// 配置Vant
import Vant from "vant"
import "vant/lib/index.css"
Vue.use(Vant)

Vue.prototype.$axios=axios;
// Vue.prototype.$http=http;

import { Tab, Tabs } from "vant"
Vue.use(Tab).use(Tabs)
// import VideoPlayer from 'video-player'
// Vue.use(VideoPlayer)




import VueAxios from 'vue-axios'
axios.defaults.baseURL='http://localhost:3000/'
Vue.use(VueAxios, axios)



import moment from 'moment'
Vue.prototype.moment=moment


Vue.config.productionTip = false

import { Lazyload } from 'vant';
Vue.use(Lazyload, {
  lazyComponent: true,
});



//配置 BScroll
// import BetterScroll from 'better-scroll'
// let wrapper = document.querySelector(".wrapper",{})
// let b = new BetterScroll('.wrapper',{})  


new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app")

import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/css/swiper.css'    
Vue.use(VueAwesomeSwiper)



